feat(iam-certificates-for-cdn): add IAM Certificate support for CDN#368
feat(iam-certificates-for-cdn): add IAM Certificate support for CDN#368minudika wants to merge 1 commit intocloudposse:mainfrom
Conversation
Add support for IAM Server Certificates as an alternative to ACM for CloudFront distributions. Required for AWS China regions, optional for all other regions.
📝 WalkthroughWalkthroughThis pull request introduces support for IAM Server Certificates in CloudFront distributions alongside existing ACM and default certificate support. It adds documentation, a new configuration variable with validation to prevent simultaneous certificate type specification, and conditional logic to detect and handle the certificate type appropriately. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Important Action Needed: IP Allowlist UpdateIf your organization protects your Git platform with IP whitelisting, please add the new CodeRabbit IP address to your allowlist:
Reviews will stop working after February 8, 2026 if the new IP is not added to your allowlist. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Add support for IAM Certificates as an alternative to ACM for CloudFront distributions. Required for AWS China regions, optional for all other regions.
what
iam_certificate_idvariable to support IAM Server Certificates for CloudFront viewer certificate configurationacm_certificate_arnandiam_certificate_idfrom being specified simultaneouslyaliases) for both ACM and IAM certificatesTLSv1.2_2021for ACM certificates,TLSv1for IAM certificates and default certificatewhy
aws_cloudfront_distributionresources instead of using this module, losing all module benefits (logging, cache behaviors, response headers policies, etc.)references